package com.smarttiger.zero.admin.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "dataSource")
public class DataSourceModel extends BaseEntity {

    @Column(name = "name",length = 100)
    private String name;

    @Column(name = "code", length = 100)
    private String code;

    @Column(name = "url", length = 500)
    private String url;

    @Column(name = "userName", length = 100)
    private String userName;

    @Column(name = "pass", length = 100)
    private String pass;

    @Column(name = "driver", length = 100)
    private String driver;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }
}
